<%@ page language="java" %>
<%@ page import="com.syrrx.hol.util.StaticInclude"%>
<%@ page import="java.util.*"%>
<%@ page import="java.text.*"%>

<%DateFormat df = new SimpleDateFormat("yyyy");
			Date date = new Date();
			String create_date = df.format(date);

			

    //change the redirect to your welcome page for your app
   String app_name="HOL";
   
    String url=null;
    url =(String)config.getServletContext().getAttribute("StaticURL");
    
%>
<html>
<head>
  <title>Application Home Page - Login</title>
  <link href="<%=(String)config.getServletContext().getAttribute("StaticURL")%>/css/tabs.css" rel="stylesheet" type="text/css" />
 
<script language="javascript">
    function setFocus(element) {
        var obj = eval(element);
        // Set the focus to the element desired
        obj.focus();
    }
</script>
</head>

<body onload="setFocus('document.login.j_username')">
<!-- Start Body Table -->
<table align="center" valign="top" border="0" cellpadding="8" cellspacing="0" width="90%">
  <!-- Start Topbox -->
  <tr>
    <td valign="center" width="25%" colspan="2">
      <!-- Start Banner -->
      <table align="center" bgcolor="#000000" border="0" cellpadding="1" cellspacing="0" width="100%">
        <tr>
          <td valign="center">
            <table bgcolor="#ffffff" border="0" cellpadding="8" cellspacing="0" width="100%">
              <tr>
                <td width="135"><img src="<%=url%>/imgs/logo.png"></td>
                <td background="<%=url%>/imgs/density3.jpg" align="right" valign="top">
                <%=com.syrrx.hol.util.UrlHelper_new.getApplicationHeaderURL(request.getServerName(),request.getServerPort(),"HOL",request.getContextPath()) %>										
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <!-- End Banner -->
    </td>
  </tr>
  <!-- End Topbox -->
    <tr>
        <!-- body table -->
        <td valign="center">
      <!-- Start Content -->
      <table align="center" bgcolor="#000000" border="0" cellPadding="0" cellSpacing="0" width="100%">
        <tr>
          <td>
            <table border="0" cellpadding="8" cellspacing="1" width="100%">
              <tr>
                <td bgcolor="#ffffff">
                  <h1><%= app_name %>  Login</h1>
                  <form method="post" name="login" action="j_security_check">
                    <table border=0 cellspacing="8">
                      <tr>
                        <td align="right" class="text_bold">Username:</td>
                        <td><input type="text" name="j_username" class="frm" ></td>
                      </tr>
                      <tr>
                        <td align="right" class="text_bold">Password:</td>
                        <td><input type="password" name="j_password" class="frm" >
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                        <td><input type="submit" name = "loginbutton" value="Submit" class="frm"  ></td>
                      </tr>
                    </table>
                  </form>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <!-- End Content -->
        </td>
    </tr>
    <tr>
        <td valign="center">
            <table align="center" bgcolor="#000000" border="0" cellpadding="1" cellspacing="0" width="100%">
                <tr>
                    <td valign="center">
                        <table bgcolor="#ffffff" border="0" cellpadding="8" cellspacing="0" width="100%">
                            <tr>
                                <td background="<%=url%>/imgs/density2.jpg" class="text">
                                    Technical questions? <a href="mailto:informatics@takedasd.com?subject=HOL">Feedback</a>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td valign="middle" class="footer">&copy; Copyright <%=create_date%>- Takeda San Diego</td>
    </tr>
</table>







